# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=py3-telemetrix
pkgver=1.20
pkgrel=3
pkgdesc="Remotely Control And Monitor Arduino-Core devices"
url="https://mryslab.github.io/telemetrix"
arch="noarch"
license="AGPL-3.0-or-later"
depends="python3 py3-pyserial"
makedepends="py3-setuptools py3-gpep517"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/t/telemetrix/telemetrix-$pkgver.tar.gz"
builddir="$srcdir/telemetrix-$pkgver"
options="!check" # No tests.

build() {
	gpep517 build-wheel \
		--wheel-dir .dist \
		--output-fd 3 3>&1 >&2
}

package() {
	gpep517 install-wheel --destdir "$pkgdir" \
		.dist/*.whl
}

sha512sums="
0ee02a885b05d5925f476e236f581dbb318338e51031660ea7d4f9a4f2c4ad350c4df40dab51f0b8039bed8e069da5fd32230ca0f49f752a51e83c8a74588197  telemetrix-1.20.tar.gz
"
